﻿using System.ComponentModel;

namespace 天离安全_天擎.Tl_Class_Services
{
    /// <summary>
    /// 爬虫默认数据
    /// </summary>
    public class CrawlerScanDefault
    {
        /// <summary>
        /// 线程
        /// </summary>
        [DefaultValue(20)]
        public int Max { get; set; } = 20;
        /// <summary>
        /// 默认扫描地址
        /// </summary>
        [DefaultValue("https://www.sec-scan.com")]
        public string Url { get; set; } = "https://www.sec-scan.com";
        /// <summary>
        /// socks5扫描的IP地址
        /// </summary>
        [DefaultValue("127.0.0.1")]
        public string Socks5Proxy_Ip { get; set; } = "127.0.0.1";
        /// <summary>
        /// socks5扫描的端口-基础表面层不可用
        /// </summary>
        [DefaultValue(7890)]
        public int Socks5Proxy_Port { get; set; } = 7890;
        /// <summary>
        /// 代理状态，默认为false-基础表面层不可用
        /// </summary>
        [DefaultValue(false)]
        public bool Proxy_Status { get; set; } = false;
    }
    /// <summary>
    /// 检查代理
    /// </summary>
    public class CheckProxy
    {
        /// <summary>
        /// socks5扫描的IP地址
        /// </summary>
        [DefaultValue("127.0.0.1")]
        public string Socks5Proxy_Ip { get; set; } = "127.0.0.1";
        /// <summary>
        /// socks5扫描的端口-基础表面层不可用
        /// </summary>
        [DefaultValue(7890)]
        public int Socks5Proxy_Port { get; set; } = 7890;
    }
}
